/* A comment */

#include <stdio.h>
#include <stdlib.h>
#include <math.h>

int main(int argc, char** argv){

  if (argc < 2)
    {
      printf("Usage: sqrt x1 x2 ...\n");
      return 1;
    }

  double x;
  int i;
  for(i=1; i< argc; i++)
    {
      x = atof(argv[i]);
      printf("Sqrt(%.3lf) = %.4f \n", x, sqrt(x)); //sqrt in math.h
    }
  printf("This concludes a short C demo\n");
  return 0; //success?
}
